-
Home
-
WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin
-
14.11
-
Code
-
Classes
- AbstractDeviceParser
| Total Complexity |
52 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
2,348 |
| Lines of code |
161 |
| Logical lines of code |
80 |
| Comment lines |
82 |
| Methods |
16 |
| Properties |
6 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| parse() |
C |
36 |
27 |
74 |
| parseClientHints() |
S |
56 |
5 |
18 |
| buildModel() |
S |
64 |
3 |
9 |
| getDeviceName() |
S |
68 |
2 |
7 |
| getFullName() |
S |
70 |
2 |
6 |
| getShortCode() |
S |
77 |
2 |
3 |
| hasDesktopFragment() |
S |
64 |
2 |
10 |
| getDeviceType() |
S |
82 |
1 |
3 |
| getAvailableDeviceTypes() |
S |
80 |
1 |
3 |
| getAvailableDeviceTypeNames() |
S |
79 |
1 |
3 |
| getModel() |
S |
82 |
1 |
3 |
| getBrand() |
S |
82 |
1 |
3 |
| setUserAgent() |
S |
77 |
1 |
4 |
| hasUserAgentClientHintsFragment() |
S |
78 |
1 |
3 |
| reset() |
S |
74 |
1 |
5 |
| getResult() |
S |
69 |
1 |
7 |